When you were growing up, it's likely that swimming pool fences weren't mandatory. Swimming pool accidents and drowning deaths are still too common, prior to requirements for fences around the pool and locking gates, the incidences were higher than they are now.